package org.jeecg.modules.assets.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 资产扩展信息管理
 * @Author: jeecg-boot
 * @Date:   2024-01-03
 * @Version: V1.0
 */
@Data
@TableName("assets_expansion")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="assets_expansion对象", description="资产扩展信息管理")
public class AssetsExpansion {
    
	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private java.lang.Integer id;
	/**资产编码*/
	@Excel(name = "资产编码", width = 15)
    @ApiModelProperty(value = "资产编码")
	private java.lang.String assetCoding;
	/**资产库位*/
	@Excel(name = "资产库位", width = 15)
    @ApiModelProperty(value = "资产库位")
	private java.lang.String location;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
	private java.util.Date createTime;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
	private java.util.Date updateTime;

	@TableField(exist = false)
	@ApiModelProperty(value = "修改类型，1修改资产信息，2初盘，3复盘，4抽盘,默认初盘")
	private  Integer updateType=1;

	@ApiModelProperty("资产公司")
	private String company;

	@ApiModelProperty("资产公司编码")
	private String companyName;
}
